package com.xqboss.apps.task;

import com.xqboss.apps.service.marketing.AirdropService;
import com.xqboss.common.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 空投定时任务
 */
@Component("airdropTask")
public class AirdropTask {

    @Autowired
    private AirdropService airdropService;

    /**
     * 开始检测空投
     */
    public void start() {
        airdropService.dispatchAirdrop();
    }

}
